use std::collections::HashSet;

pub fn new_count_distinct(input_str: &str) -> usize {
    let mut element_list = HashSet::new();
    input_str.split(',').filter(|&item| element_list.insert(item)).count()
}
